class AssertIHRM:
    # 定义断言的方法
    @classmethod
    def assert_ihrm(cls,resp,status_code,success,code,message):
        assert status_code == resp.status_code
        assert success == resp.json().get("success")
        assert code  == resp.json().get("code")
        assert message == resp.json().get("message")
